package homes;

import model.Reserva;

public class ReservasHome {
    
    public Reserva get(int i) {
        Reserva r = (Reserva) SessionManager.getSession().get(Reserva.class, i);
        r.toString();
        return r;
    }    

    public void save(Reserva reserva) {
        SessionManager.getSession().saveOrUpdate(reserva);
    }

}
